package com.beerandjesus.sportofkings.handicapper.model;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Column;
import java.math.BigDecimal;

/**
 * Date: Sep 11, 2012
 * Time: 8:28:36 PM
 */
@Entity
@Table(name="jockey_rating_threshold")
public class JockeyRatingThresholdImpl implements JockeyRatingThreshold {

    @Id
    @Column(name="name")
    private String name;
    @Column(name="leading_threshold")
    private BigDecimal leading;
    @Column(name="excellent_threshold")
    private BigDecimal excellent;
    @Column(name="good_threshold")
    private BigDecimal good;
    @Column(name="active_fl")
    private Boolean active;

    public BigDecimal getLeading() {
        return leading;
    }

    public void setLeading(BigDecimal leading) {
        this.leading = leading;
    }

    public BigDecimal getExcellent() {
        return excellent;
    }

    public void setExcellent(BigDecimal excellent) {
        this.excellent = excellent;
    }

    public BigDecimal getGood() {
        return good;
    }

    public void setGood(BigDecimal good) {
        this.good = good;
    }

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
